package com.ruoyi.swla2.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 远传小-历史数据对象 t_meter_history_data
 * 
 * @author gdqt
 * @date 2025-04-16
 */
@TableName("t_meter_history_data")
public class MeterHistoryData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 远传表编号 */
    @TableField(value="EasIonID")
    private String EasIonID;

    /** 租户ID */
    @Excel(name = "租户ID")
    @TableField("tenant_id")
    private String tenantId;

    /** 水表读数 */
    @Excel(name = "水表读数")
    @TableField("TotalFlow")
    private BigDecimal TotalFlow;

    /** 终端电压 */
    @Excel(name = "终端电压")
    @TableField("TerminalVol")
    private BigDecimal TerminalVol;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField("CreateDate")
    private Date CreateDate;

    /** 抄表时间 */
    @TableField(value="ReadDate")
    private Date ReadDate;

    /** 平台表单自增主键 */
    @Excel(name = "平台表单自增主键")
    @TableField("ID")
    private Long ID;

    /** $column.columnComment */
    @TableId(value="TerminalID")
    private String TerminalID;

    public void setEasIonID(String EasIonID) 
    {
        this.EasIonID = EasIonID;
    }

    public String getEasIonID() 
    {
        return EasIonID;
    }
    public void setTenantId(String tenantId) 
    {
        this.tenantId = tenantId;
    }

    public String getTenantId() 
    {
        return tenantId;
    }
    public void setTotalFlow(BigDecimal TotalFlow) 
    {
        this.TotalFlow = TotalFlow;
    }

    public BigDecimal getTotalFlow() 
    {
        return TotalFlow;
    }
    public void setTerminalVol(BigDecimal TerminalVol) 
    {
        this.TerminalVol = TerminalVol;
    }

    public BigDecimal getTerminalVol() 
    {
        return TerminalVol;
    }
    public void setCreateDate(Date CreateDate) 
    {
        this.CreateDate = CreateDate;
    }

    public Date getCreateDate() 
    {
        return CreateDate;
    }
    public void setReadDate(Date ReadDate) 
    {
        this.ReadDate = ReadDate;
    }

    public Date getReadDate() 
    {
        return ReadDate;
    }
    public void setID(Long ID) 
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setTerminalID(String TerminalID) 
    {
        this.TerminalID = TerminalID;
    }

    public String getTerminalID() 
    {
        return TerminalID;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("EasIonID", getEasIonID())
            .append("tenantId", getTenantId())
            .append("TotalFlow", getTotalFlow())
            .append("TerminalVol", getTerminalVol())
            .append("CreateDate", getCreateDate())
            .append("ReadDate", getReadDate())
            .append("ID", getID())
            .append("TerminalID", getTerminalID())
            .toString();
    }
}
